/**
 * Created by ren on 22/03/2017.
 */
'use strict'
const HOST = process.env.NODE_ENV === 'production' ? '' : 'http://backendapp.vacomall.cn/'

export default {
  /**
   * 用户接口地址
   */
  platformMenus: HOST + 'platform/menus',
  paltformUser: HOST + 'platform/userinfo',
  /**
   * 区域列表
   */
  cityLib: HOST + 'cityLib/findCity',
  /**
   * 首页接口
   */
  imagesAdd: HOST + 'index/addIndex',
  imagesUpload: HOST + 'index/add',
  imagesGet: HOST + 'index/getIndex',
  imagesDelete: HOST + 'index/deleteByIds',
  imagesUpdate: HOST + 'index/updateIndex',
  rollList: HOST + 'index/getRollImages',
  brandList: HOST + 'index/getBrands',
  categoryList: HOST + 'index/findIndexCategory',
  cityAdd: HOST + 'index/updateRollImage',
  getCity: HOST + 'index/selectByImageId',
  /**
   * 类目接口
   */
  categoryAdd: HOST + 'index/addCategoty',
  categoryDelete: HOST + 'index/deleteCategoty',
  categoryUpdate: HOST + 'index/updateCategoty',
  getCategory: HOST + 'index/getCategory',
  categoryFindList: HOST + 'index/findCategoty',
  categoryTree: HOST + 'index/findCategotyTree',
  sorterList: HOST + 'index/findCategoty'
}
